package com.kcsj.domain;

import lombok.*;

import java.time.LocalDateTime;
@ToString
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Data
public class WarehouseInputRecord implements Comparable<WarehouseInputRecord> {
    //id，自动生成的主键，读取时用
    private int id;
    //产品型号
    private ProductModel productModel;
    //标签信息，存epc号
    private String tagInformation;
    //入库时间，读时使用
    private LocalDateTime storageTime;
    //备注
    private String remarks;

    @Override
    public int compareTo(WarehouseInputRecord o) {
        return this.id-o.id;
    }
}
